<!DOCTYPE html>
<html>
<head lang="zh_CN">
    <meta charset="UTF-8">
    <title>${entityComment}编辑</title>
    <meta charset="UTF-8">
    <script type="text/javascript" src="../../../common/js/bootstrap.js"></script>
    <script type="text/javascript" src="../../../erajs/jquery.ztree.all-3.5.min.js"></script>
    <script type="text/javascript" src="../../../bds/common/js/bdsCommon.js"></script>
    <script type="text/javascript" src="../js/${objectName}Edit.js"></script>
</head>
<body>
<div xtype="layout" id="${objectName}EditDiv">
    <form name="${objectName}EditForm" id="${objectName}EditForm" action="" class="form-css"><!--name和id要相同，不然会校验异常-->
        <div data-options="region:'center',border:false" class="form-box" style="overflow:auto !important">
            <ul class="content_ul" style="display: none">
                <li>
                    <--隐藏域 ->
                    <input type="hidden" id="primaryKey" name="primaryKey" />
                </li>
            </ul>
            <ul class="content_ul">
                <#list cis as ci>
                <li class="title120">
                    <span class="require">*</span>
                    <span class="LANGS" langid="${serviceName}.${objectName}.field.${ci.property}">${ci.comment}</span>：
                </li>
                <li class="input160">
                    <input xtype="textbox" id="${ci.property}" name="${ci.property}" class="input-css"
                           data-options="width:160">
                </li>
                </#list>
            </ul>
            
            <ul class="content_ul">
                <li class="title120">
                    <span class="require">*</span>
                    <span class="LANGS" langid="${serviceName}.${objectName}.field.field">码值类型</span>:
                </li>
                <li class="input160">
                    <input xtype="combobox" id="field" disabled = "true" name="field" data-options="
                                    valueField:'code',
                                    width:160,
                                    editable:true,
                                    textField:'name',
                                    panelHeight:'auto',
                                    autoValueIndex:1
                                    " custom-options="dataNode:'yesOrNo'">
                </li>
                <li class="title120">
                    <span class="require">*</span>
                    <span class="LANGS" langid="${serviceName}.${objectName}.field..num">数字类型</span>:
                </li>
                <li class="input160">
                    <input xtype="numberbox" id="num" name="num" class="input-css"
                           data-options="
                            width:160,
                            decimalSeparator:'.',
                            precision:4">
                </li>
            </ul>
        </div>
        <div region="south" border="false" class="form-foot-btns">
            <div xtype="button" id="saveBtn" class="middleBtn but-w80 but-bg"
                 data-options="onClick: save${entityName}">
                <span class="LANGS" langid="common.window.save">保存</span>
            </div>
            <div xtype="button" class="middleBtn but-w80 but-bg" custom-options="btnType:'cancel'">
                <span class="LANGS" langid="common.window.cancel">取消</span>
            </div>
        </div>
    </form>


</div>

</body>
</html>